package cn.mcartoon.dto;

/**
 * @author hys
 * @Description 漫画收藏出参数据包装类
 * @date 2019/9/25 9:09
 * Version 1.0
 */
public class CartoonCollectionDto {
    public CartoonCollectionDto() {
    }

    public CartoonCollectionDto(CartoonDto cartoon) {
        this.cartoonName = cartoon.getCartoonName();
        this.cartoonCover = cartoon.getCartoonCover();
        this.themes = cartoon.getThemes();
//        this.userId = cartoon.getUserId();
        this.cartoonId = cartoon.getCartoonId();
    }

    //主键ID
    private Long collectionId;
    //用户id
    private Long userId;
    //动漫id
    private Long cartoonId;
    //漫画名称
    private String cartoonName;
    //漫画封面路径
    private String cartoonCover;
    // 题材
    private String[] themes;

    public Long getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(Long collectionId) {
        this.collectionId = collectionId;
    }

    public Long getCartoonId() {
        return cartoonId;
    }

    public void setCartoonId(Long cartoonId) {
        this.cartoonId = cartoonId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCartoonName() {
        return cartoonName;
    }

    public void setCartoonName(String cartoonName) {
        this.cartoonName = cartoonName;
    }

    public String getCartoonCover() {
        return cartoonCover;
    }

    public void setCartoonCover(String cartoonCover) {
        this.cartoonCover = cartoonCover;
    }

    public String[] getThemes() {
        return themes;
    }

    public void setThemes(String[] themes) {
        this.themes = themes;
    }
}
